home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / general / winmon.exe / MAKEFILE < prev    next >
Text File  |  1993-06-30  |  1KB  |  29 lines

  1. ##
  2. ##      makefile  -  Borland C makefile for
  3. ##                   TestMon; sample app for WinMon
  4. ##
  5.  
  6. BC_LIB_DIR  = d:\borlandc\lib           # Borland C libraries
  7. BC_INC_DIR  = d:\borlandc\include       # Borland C includes
  8. DLL_LIB_DIR = ..\dll                    # where WinMon.Lib is found
  9. WM_INC_DIR  = ..\include                # where WinMon.H is found
  10. WMLIB   = winmon.lib                    # staticly link the dll
  11.  
  12. WINCC   = bcc -DSTRICT -c -w-par -v -WE -2 -I.\ -I$(WM_INC_DIR)
  13. WINLINK = tlink /n -v /Tw /L$(BC_LIB_DIR);$(DLL_LIB_DIR) c0ws
  14. WINLIB  = cws mathws import 
  15. WINRC   = rc -i$(BC_INC_DIR) -i.\       ##
  16.  
  17.                                                     
  18. testmon.exe: testmon.obj makefile testmon.def testmon.res
  19. ##     tlink @testmon.lrf
  20.         $(WINLINK) testmon, testmon.exe, NUL, $(WINLIB) $(WMLIB), testmon.def
  21.      $(WINRC) testmon.rc testmon.exe
  22.  
  23. testmon.res:    testmon.rc testmon.h
  24.         $(WINRC) -r testmon.rc
  25.  
  26. testmon.obj: testmon.c makefile testmon.def testmon.h ..\include\winmon.h
  27.      $(WINCC) testmon.c
  28.  
  29.